home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / General / GCC 1.37.1r15 / Machines / xm-umips.h < prev    next >
Text File  |  1990-03-14  |  1KB  |  45 lines

  1. /* Configuration for GNU C-compiler for UMIPS operating system
  2.    Copyright (C) 1989 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /*
  21.  *  Notes for compiling gcc on umips (v3.0)
  22.  *    - change the -g in the CFLAGS to a -g3 or take it out all together.
  23.  *    - do not define DBX_DEBUGGING_INFO in tm.h, it doesn't exist (unless
  24.  *    you get one from a bsd system)
  25.  */
  26. #include "xm-mips.h"
  27.  
  28. /* Arguments to use with `exit'.  */
  29. #define SUCCESS_EXIT_CODE 0
  30. #define FATAL_EXIT_CODE 33
  31.  
  32. /* If compiled with GNU C, use the built-in alloca */
  33. #ifdef __GNUC__
  34. #define alloca __builtin_alloca
  35. #endif
  36.  
  37. #define USG
  38.  
  39. /* for the emacs version of alloca */
  40. #define STACK_DIRECTION    -1
  41.  
  42. #define bcopy(a,b,c)    memcpy((b),(a),(c))
  43. #define bzero(a,b)    memset((a),0,(b))
  44. #define bcmp(a,b,c)    memcmp((a),(b),(c))
  45.